import axios from 'axios'

export default class CallingService {
    static callingService = null

    static getInstance(){
        if(this.callingService == null){
            this.callingService = new CallingService()
        }
        return this.callingService
    }

    call(){
        const doctorId = sessionStorage.getItem('id')
        return axios.get(`http://localhost/seedoctor/call/${doctorId}`)
    }
    getPage(params) {
        return axios.get(`/purchase/inventories/page`, {
            params
        })
    }
    getjc() {
        return axios.get(`/inspect/hisinspectionfee/`)
    }
    
}